package cn.ljy.quicksnip.model.query;

import cn.ljy.authority.model.SysCustomer;
import cn.ljy.authority.model.SysHairdresser;
import cn.ljy.authority.model.SysShop;
import cn.ljy.quicksnip.model.QsAppointment;
import cn.ljy.quicksnip.model.QsAppointmentTime;
import cn.ljy.quicksnip.model.QsProject;
import cn.ljy.quicksnip.model.QsTimePeriod;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel(value = "预约时间段查询条件")
@Data
@NoArgsConstructor
public class QsAppointmentTimeQuery extends QsAppointmentTime {

    @ApiModelProperty(value = "创建时间起始范围", example = "2023-01-01 12:00:00")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTimeQueryOfBegin;

    @ApiModelProperty(value = "创建时间截止范围", example = "2023-01-01 12:00:00")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTimeQueryOfEnd;

    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "预约ID")
    private QsAppointment appointment;
    private Long appointmentId;

    @ApiModelProperty(value = "时间段ID")
    private QsTimePeriod timePeriod;
    private Long timePeriodId;
}